<div class="bjui-pageContent">
    <div style="padding:5px;">
        <div class="clearfix">
            <div style="float:left;width:20%;height:450px;">
            	<fieldset style="height:97%;overflow:auto;">
            	<legend>回收站目录</legend>
                <ul id="trashTree" class="ztree" data-toggle="ztree" 
                	width="100%" height="100%" overflow="auto"
					data-options="{
                        expandAll: false,
                        onClick: 'trashTreeClick',
                        nodes:'returnTreeData'
                    }"
                >
                </ul>
                </fieldset>
            </div>
            <div id="ztree-trashData" style="float:right;width:79%;height:450px;overflow:hidden;">
                <fieldset style="height:97%;padding:0">
                <legend>回收站数据</legend>
	                <div id="layout-trash-data" style="width:100%;height:96%; overflow:auto;margin:0;padding:0;">
	                   
	                </div>
            	</fieldset>
            </div>
        </div>
    </div>
</div>
<!-- 菜单管理 -->
<script type="text/javascript">

//获取树
function returnTreeData() {
    return ajaxJsonSync("sys/res/trashMgr",{action:"trashTree"});
}
//树节点点击事件
function trashTreeClick(event, treeId, treeNode) {
	if(treeNode.url==null||treeNode.url=="")return;
    $(event.target).bjuiajax('doLoad', 
    		{url:treeNode.url,target:"#layout-trash-data"});
    event.preventDefault();
}

</script>